<div class="form">
    <div class="gap"></div>


    <?php
    $form = $this->beginWidget('GxActiveForm', array(
        'id' => 'college-details-form',
        'enableAjaxValidation' => false,
        'htmlOptions' => array('class' => "form-horizontal", 'role' => 'form')
    ));
    ?>

    <section class="form-step1">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-primary">
                        <div class="panel-heading">
                            <h3 class="panel-title">College details 
<!--                                (3/5)-->
                            </h3>
                        </div>
                        <div class="panel-body">
                            <div class="col-lg-10">

                                <p class="note">
                                    <?php echo Yii::t('app', 'Fields with'); ?> <span class="required">*</span> <?php echo Yii::t('app', 'are required'); ?>.
                                </p>


                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'name_of_institution'); ?>
                                    </div><div class="col-sm-5">
                                        <?php echo $form->textField($model, 'name_of_institution', array('maxlength' => 245)); ?>
                                        <?php echo $form->error($model, 'name_of_institution'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'name_of_the_head_institution'); ?>
                                    </div><div class="col-sm-5">
                                        <?php echo $form->textField($model, 'name_of_the_head_institution', array('maxlength' => 245)); ?>
                                        <?php echo $form->error($model, 'name_of_the_head_institution'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'address'); ?>
                                    </div><div class="col-sm-5">
                                        <?php echo $form->textArea($model, 'address'); ?>
                                        <?php echo $form->error($model, 'address'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'distict_name'); ?>
                                    </div><div class="col-sm-5">
                                        <?php echo $form->textField($model, 'distict_name', array('maxlength' => 245)); ?>
                                        <?php echo $form->error($model, 'distict_name'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'pin_code'); ?>
                                    </div><div class="col-sm-5">
                                        <?php echo $form->textField($model, 'pin_code', array('maxlength' => 8)); ?>
                                        <?php echo $form->error($model, 'pin_code'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'phone_number'); ?>
                                    </div><div class="col-sm-5">
                                        <?php echo $form->textField($model, 'phone_number', array('maxlength' => 10)); ?>
                                        <?php echo $form->error($model, 'phone_number'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'phone_number_1'); ?>
                                    </div><div class="col-sm-5">
                                        <?php echo $form->textField($model, 'phone_number_1', array('maxlength' => 10)); ?>
                                        <?php echo $form->error($model, 'phone_number_1'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'college_email'); ?>
                                    </div><div class="col-sm-5">
                                        <?php echo $form->textField($model, 'college_email', array('maxlength' => 245)); ?>
                                        <?php echo $form->error($model, 'college_email'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'name_of_university_bord'); ?>
                                    </div><div class="col-sm-5">
                                        <?php echo $form->textField($model, 'name_of_university_bord', array('maxlength' => 250)); ?>
                                        <?php echo $form->error($model, 'name_of_university_bord'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'university_type'); ?>
                                       
                                    </div>
                                    <div class="col-sm-5">
                                         <?php echo $form->textField($model, 'university_type', array('maxlength' => 245)); ?>
                                        <?php echo $form->error($model, 'university_type'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'std_code_phone'); ?>
                                    </div><div class="col-sm-5">
                                        <?php echo $form->textField($model, 'std_code_phone', array('maxlength' => 5)); ?>
                                        <?php echo $form->error($model, 'std_code_phone'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'std_code_phone1'); ?>
                                    </div><div class="col-sm-5">
                                        <?php echo $form->textField($model, 'std_code_phone1', array('maxlength' => 5)); ?>
                                        <?php echo $form->error($model, 'std_code_phone1'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'near_police_station_address'); ?>
                                    </div><div class="col-sm-5">
                                        <?php echo $form->textArea($model, 'near_police_station_address'); ?>
                                        <?php echo $form->error($model, 'near_police_station_address'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'states_id'); ?>
                                    </div><div class="col-sm-5">
                                        <?php echo $form->dropDownList($model, 'states_id', GxHtml::listDataEx(States::model()->findAllAttributes(null, true))); ?>
                                        <?php echo $form->error($model, 'states_id'); ?>
                                    </div>
                                </div>

                               
                                <div class="gap"></div>
                                <div class="gap"></div>  

                            </div>
                            <div class="col-lg-2"></div>

                            <div class="row">
                                <div class="col-lg-12" style="position: relative;left: 416px;">
                                   

                                        <?php
                                        echo CHtml::submitButton(Yii::t('app', 'Save'), array('class' => 'read-more'));
                                        ?> 
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </section>
</div>
<?php
$this->endWidget();
?>
<div class="gap"></div>
<div class="gap"></div>
<div class="gap"></div>
<div class="gap"></div>